IntSize

enum IntSize : ProtocolMessageEnum

Protobuf enum IntSize

Entries

Link copied to clipboard
Link copied to clipboard

IS_8 = 8;

Link copied to clipboard

IS_16 = 16;

Link copied to clipboard

IS_32 = 32;

Link copied to clipboard

IS_64 = 64;

Properties

Link copied to clipboard
val IS_16_VALUE: Int = 16
IS_16 = 16;
Link copied to clipboard
val IS_32_VALUE: Int = 32
IS_32 = 32;
Link copied to clipboard
val IS_64_VALUE: Int = 64
IS_64 = 64;
Link copied to clipboard
val IS_8_VALUE: Int = 8
IS_8 = 8;
Link copied to clipboard
Default, 32/64bit based on type in .proto
IS_DEFAULT = 0;

Functions

Link copied to clipboard
open fun forNumber(value: Int): Nanopb.IntSize
Link copied to clipboard
open fun getDescriptor(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getDescriptorForType(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getNumber(): Int
Link copied to clipboard
fun getValueDescriptor(): Descriptors.EnumValueDescriptor
Link copied to clipboard
open fun internalGetValueMap(): Internal.EnumLiteMap<Nanopb.IntSize>
Link copied to clipboard
open fun valueOf(desc: Descriptors.EnumValueDescriptor): Nanopb.IntSize
open fun valueOf(value: Int): Nanopb.IntSize

open fun valueOf(name: String): Nanopb.IntSize

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.